Skip to content

CyVerse-Ansible/ansible-prometheus-node-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-node-exporter

Deploys the Node Exporter for Prometheus.

Build Status Ansible Galaxy

Requirements

None

Role Variables

Variable Required Default Choices Comments
PROMETHEUS_NODE_EXPORTER_MONITOR_RAID_STORCLI no false true, false Monitor RAID with StorCLI
PROMETHEUS_NODE_EXPORTER_CHECK_SPECTRE_MELTDOWN no false true, false Check Spectre/Meltdown mitigation status
PROMETHEUS_NODE_EXPORTER_CUSTOM_OPTS no undefined string Additional options to pass to node_exporter

Dependencies

If PROMETHEUS_NODE_EXPORTER_MONITOR_RAID_STORCLI is set, storcli must be installed a la https://gitlab.cyverse.org/config-mgmt/ansible-install-storcli

If PROMETHEUS_NODE_EXPORTER_CHECK_SPECTRE_MELTDOWN is set, systems will be checked for mitigation of Spectre/Meltdown vulnerabilities via spectre-meltdown-checker and expose the following metrics:

  • CVE-2017-5753
  • CVE-2017-5715
  • CVE-2017-5754

A value of 0 means "not vulnerable", a value of 1 means "vulnerable", and a value of 2 means "unknown".

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: all
  roles:
     - prometheus-node-exporter

License

See license.md

Author Information

https://cyverse.org

About

Installs the Node Exporter for Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages